body {
  background: #146186;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 10px;
}

.fr {
  float: right;
}
.fl {
  float: left;
}

h1 {
  text-align: center;
}
.title {
  color: #fff;
}


input[type='text'],
input[type='date'],
button,
textarea,
.task-item {
  border-radius: 3px;
  border: 0;
  outline: 0;
}

input[type='text'],
input[type='date'],
textarea {
  padding: 10px;
  border-radius: 3px;
  background: #eee;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

input[type='text']:hover,
input[type='date']:hover,
input[type='date']:focus,
input[type='text']:focus {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
button[type='submit'],
button[type='button'] {
  padding: 10px;
  background: #32b3f1;
  color: #333;
}

.desc textarea,
.add-task button,
.task-item {
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
  transition: all 0.1s;
}

.add-task input {
  float: left;
  width: 80%;
  margin-right: 1%;
  box-sizing: border-box;
}
.add-task button {
  width: 19%;
  box-sizing: border-box;
  cursor: pointer;
}
.add-task button:hover {
  background: #5cc2f3;
}

.task-list {
  margin: 10px 0;
}

.task-item {
  padding: 10px;
  color: #333;
  background: #fff;
  margin-bottom: 5px;
  cursor: pointer;
  position: relative;
}
.task-item:hover {
  background: #ddd;
}
.task-item.completed {
  color: #333;
  background: #eee;
  text-shadow: 0px 0 20px #fde509;
}
.task-item.completed:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 4%;
  right: 12%;
  transform: translateY(-50%);
  height: 1px;
  border-bottom: 1px solid #aaa;
  transform: scaleY(1.2);
}

.task-detail-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 30, 30, 0.5);
  display: none;
}

.task-detail {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 284px;
  box-sizing: border-box;
  padding: 10px;
  background: #fff;
  display: none;
}
.detail-box {
  padding: 10px;
}
.detail-box .close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  line-height: 10px;
  padding: 10px;
  text-align: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}
.detail-box .content {
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
  margin: 23px 0 10px 0;
  font-size: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 3px;
  transition: all .2s;
}
.detail-box .content:hover {
  box-shadow: 1px 2px 4px #888
}


.desc textarea {
  min-height: 100px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
textarea:hover,
textarea:focus
{
  box-shadow: -1px 3px 5px rgba(30, 30, 30, 0.5);
}

.action {
  color: #888;

}
.action:hover {
  color: #333;
}

.task-content {
  margin-left: 10px;
}

.remind {
  padding-top: 0;
  padding-bottom: 0;
}
.remind input,
.remind button[type=submit] {
  width: 100%;
  box-sizing: border-box;
}
.remind button[type=submit] {
  width: 50%;
  transform: translateX(50%);
  margin-top: 10px;
  color: #fff;
  font-size: 15px;
}